package com.itliang.constant;

/**
 * @author : liangzhuoyuan
 * @createDate : 2023-03-22 20:03
 */
public class RedisConstants {
    /**
     * TOKEN KEY
     */
    public static final String LOGIN_TOKEN_KEY = "login:token:";
    /**
     * TOKEN有效时间
     */
    public static final Long LOGIN_TOKEN_TTL = 60 * 60 * 24L;
    /**
     * 权限KEY
     */
    public static final String OPERATION_PERMISSION_KEY = "operation:permission:";
    /**
     * 权限有效时间
     */
    public static final Long OPERATION_PERMISSION_TTL = 60 * 60 * 24L;

    /**
     * 用户信息KEY
     */
    public static final String USER_INFO_KEY = "user:info:";

    /**
     * 用户信息有效时间
     */
    public static final Long USER_INFO_TTL = 60 * 60 * 24L;


}
